<?php

namespace common\models;

class TallyVipOrder extends \yii\db\ActiveRecord
{
    public static function tableName()
    {
        return 'tally_vip_order';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip_days','status','tally_id','pay_type'], 'integer'],
            [['vip_price'], 'number'],
            [['vip_order_code','ios_data'], 'string'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip_days' => '会员天数',
            'vip_price' => '价格',
            'vip_order_code'=>'订单号',
        ];
    }
}